﻿
namespace Chess.Domain.UnitTest.Mocks
{
	//TODO: Rename to MockValidModDeterminant when you get home.
    public class MockMoveDeterminant : IMoveDeterminant
    {
        private bool _IsValid;

        public void SetIsValid(bool value)
        {
            _IsValid = value;
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="game"></param>
        /// <param name="piece"></param>
        /// <param name="newPosition"></param>
        /// <returns></returns>
        public bool IsValid(Game game, Piece piece, Position newPosition)
        {
            return _IsValid;
        }
    }
}
